/**
 * 
 */
package ch.iec.tc57._2011.meterreadings.clientsample.beans;

/**
 * @author cesar.mateus
 * Nov 30, 2013 11:47:10 AM
 * Request.java
 * GetMeterReadingsClient
 * 
 */
public class Request {

	private String ticket;
	private String device;
	private String block;
	
	/**
	 * @param ticket
	 * @param device
	 * @param block
	 */
	public Request(String ticket, String device, String block) {
		super();
		this.ticket = ticket;
		this.device = device;
		this.block = block;
	}
	
	/**
	 * @return the ticket
	 */
	public String getTicket() {
		return this.ticket;
	}
	/**
	 * @param ticket the ticket to set
	 */
	public void setTicket(String ticket) {
		this.ticket = ticket;
	}
	/**
	 * @return the device
	 */
	public String getDevice() {
		return this.device;
	}
	/**
	 * @param device the device to set
	 */
	public void setDevice(String device) {
		this.device = device;
	}
	/**
	 * @return the block
	 */
	public String getBlock() {
		return this.block;
	}
	/**
	 * @param block the block to set
	 */
	public void setBlock(String block) {
		this.block = block;
	}

	/**
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return String.format("Request [ticket=%s, device=%s, block=%s]",
				this.ticket, this.device, this.block);
	}
	
}
